package org.example.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class User {
    @TableId(value = "id",type = IdType.AUTO)//若不采用自增长，默认是雪花算法
    private Long id;
    private String account;
    private String password;
    private String name;
    private int age;
    private int isStudent;
    private BigDecimal money;
}
